import { UploadApiResult } from "../sys/upload";
import { UploadFileParams } from "/#/axios";
import { defHttp } from "/@/utils/http/axios";


export const caseRegisterImportData = (
  params: UploadFileParams,
  onUploadProgress: (progressEvent: ProgressEvent) => void
) => defHttp.uploadFile<UploadApiResult>(
  {
    url: ctxPath + adminPath + '/operating/caseRegister/importData',
    onUploadProgress,
  },
  params
);
